import DS from 'ember-data'

export default DS.Model.extend({
  findRecord(params) {
    if (params === 1) {
      return [{
        id: 1,
        thumbnailUrl: 'www.baidu.com1',
        title: 'this is title1'
      },{
        id: 2,
        thumbnailUrl: 'www.baidu.com2',
        title: 'this is title2'
      }]
    }
  }
})
